from django.db import models
from django.contrib.auth.models import AbstractUser, User
# Create your models here.


class UserProfile(AbstractUser):

    phone = models.CharField(max_length=11, verbose_name='手机号', null=False)

    class Meta:
        verbose_name = '用户管理'
        verbose_name_plural = '用户管理'

    def __str__(self):
        return self.username

